package ${outputPackageName}.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import ${outputPackageName}.dao.${entityName}Dao;
import ${outputPackageName}.entity.${entityName};
import ${outputPackageName}.service.${entityName}Service;
import com.maven.orm.hibernate.DaoBase;
import com.maven.orm.hibernate.ServiceBaseImpl;

@Service(value="<@lowerFC>${entityName}</@lowerFC>ServiceImpl")
public class ${entityName}ServiceImpl extends ServiceBaseImpl<${entityName}> implements ${entityName}Service {

	private ${entityName}Dao <@lowerFC>${entityName}</@lowerFC>Dao;
	
	@Resource(name="<@lowerFC>${entityName}</@lowerFC>DaoImpl")
	public void set${entityName}Dao(${entityName}Dao <@lowerFC>${entityName}</@lowerFC>Dao) {
		this.<@lowerFC>${entityName}</@lowerFC>Dao = <@lowerFC>${entityName}</@lowerFC>Dao;
	}

	@Override
	public DaoBase<${entityName}> getDao() {
		// TODO Auto-generated method stub
		return <@lowerFC>${entityName}</@lowerFC>Dao;
	}

}
